package com.example.yuejian21.nongfusanquan.yuejian21.service;

import com.example.yuejian21.nongfusanquan.yuejian21.javabean.Coursebean;
import com.example.yuejian21.nongfusanquan.yuejian21.javabean.Searchbean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Nongfusanquan on 2017-10-18.
 */

public interface SearchService {
    @GET("Train/searchTrain")
    Call<List<Coursebean>> searchCourselist(
            @Query("search") String search
    );

}
